package com.maiji.cloud.service;

import com.maiji.cloud.entities.shopingmall.ShareOrderHelpLog;
import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.request.ReqMetaData;
import com.maiji.cloud.request.shopingmall.ShareOrderLogFindAllData;
import com.maiji.cloud.response.BaseDataResDto;
import com.maiji.cloud.response.BaseMetaResDto;
import com.maiji.cloud.response.shopingmall.ShareOrderLogResData;

import java.util.List;

public interface ShareOrderHelpLogService extends IService<ShareOrderHelpLog> {

    BaseDataResDto<Double> shareOrderHelp(String solId, String userId);

    Boolean canHelp(String userId, String solId);

    BaseMetaResDto<List<ShareOrderLogResData>> findAllShareOrderHelpLogs(ShareOrderLogFindAllData data, ReqMetaData metaData, String userId);
}
